package com.hlbspringcloud.signature.dto;

import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @Author huanglibin
 * @Project signature
 * @Description
 * @Date 2021-01-04-10-08-16
 * @Version 1.0
 */
@Data
public class UserDto {
    @NotBlank
    private String userId;

    @NotBlank
    private String userName;

    private String password;

    @Valid
    private List<CardDto> cardDtoList;
}
